/* pages/taskDetailAdmin/index.wxss */
/*适配480以上的ipad*/
/* 480/750=0.64*/
@function toPadPx($rpx){
  @return $rpx*0.64px;
}

@mixin pad-devices {
  @media (min-width:480px) {
    @content;
  }
}
.task-item{
  background-color: #FFFFFF;
  border-radius: 20rpx;
  position: relative;
  margin: 20rpx 0;
}
.task-item-title{
  padding: 20rpx 20rpx 0;
}
.task-content{
  margin-top: 20rpx;
  padding-top: 0;
  border-bottom-left-radius: 20rpx;
  border-bottom-right-radius: 20rpx;
  background-color: #EFEFEF;
  //max-height: 880rpx;
  overflow: hidden auto;
}
.task-small-item{
  border-radius: 20rpx;
  margin: 20rpx;
  padding: 20rpx;
  position: relative;
  border-bottom: 1px solid #d9d9d9;
  background-color: #FFFFFF;
}
.sub-task-title{
  height: 40rpx;
  line-height: 40rpx;
  margin-bottom: 20rpx;
  font-size: 28rpx;
  @include pad-devices{
    height: toPadPx(40);
    line-height: toPadPx(40);
    margin-bottom: toPadPx(20);
    font-size: toPadPx(28);
  }
}
.task-title-img,.action-title-img{
  width: 30rpx;
  height: 30rpx;
  margin-top: 5rpx;
  float: left;
  padding-right: 10rpx;
  @include pad-devices{
    width: toPadPx(30);
    height: toPadPx(30);
    margin-top: toPadPx(5);
    padding-right: toPadPx(10);
  }
}
.task-title-img{
  padding-right: 20rpx;
}
.action-title-img{
  margin-top: 8rpx;
}
.sub-task-article-title{
  font-weight: bold;
  max-height: 80rpx;
  line-height: 40rpx;
  text-overflow: ellipsis;
  overflow: hidden;
  @include pad-devices{
    max-height: toPadPx(80);
    line-height: toPadPx(40);
  }
}
.task-state,.task-sub-state{
  width: 120rpx;
  height: 40rpx;
  line-height: 40rpx;
  font-size: 24rpx;
  text-align: center;
  color: #FFFFFF;
  background-color: #FF814A;
  border-top-right-radius: 20rpx;
  border-bottom-left-radius: 20rpx;
  @include pad-devices {
    width: toPadPx(120);
    height: toPadPx(40);
    line-height: toPadPx(40);
    font-size: toPadPx(24);
    border-top-right-radius: toPadPx(20);
    border-bottom-left-radius: toPadPx(20);
  }
}
.task-state,.task-state-content{
  position: absolute;
  top: 0;
  right: 0;
}
.task-state-content{
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
  justify-content: flex-end;
}
.task-sub-state{
  margin-left: 20rpx;
}
.detail-content{
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
}
.detail-item{
  color: #8f8d8e;
  font-size: 24rpx;
  margin-top: 20rpx;
  @include pad-devices {
    font-size: toPadPx(24);
    margin-top: toPadPx(20);
  }
}
.item-title{
  color: #000000;
}
.share-item{
  margin-left: 20rpx;
}
.text-overflow{
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}